package com.example.spotitube.Controller;

import java.util.Comparator;

import com.example.spotitube.Model.Track;

public class ReleaseYearComparator implements Comparator<Track>{
	@Override
	public int compare(Track track1, Track track2){
		
		return track1.getYearOfRelease() - track2.getYearOfRelease();
	}
}
